
package base_classes;

import java.util.HashSet;
import java.util.Set;


/**
 *  myschedulechange.Studiengang
 *  12/10/2009 15:16:38
 * 
 */
public class Studiengang {

    private Integer idStudiengang;
    private String name;
    private Set<base_classes.Kurs> kurss = new HashSet<base_classes.Kurs>();
    private Set<base_classes.User> users = new HashSet<base_classes.User>();

    public Studiengang() {
    }

    public Studiengang(Integer idStudiengang, String name) {
        this.idStudiengang = idStudiengang;
        this.name = name;
    }

    public Studiengang(Integer idStudiengang, String name, Set<base_classes.Kurs> kurss, Set<base_classes.User> users) {
        this.idStudiengang = idStudiengang;
        this.name = name;
        this.kurss = kurss;
        this.users = users;
    }

    public Integer getIdStudiengang() {
        return idStudiengang;
    }

    public void setIdStudiengang(Integer idStudiengang) {
        this.idStudiengang = idStudiengang;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Set<base_classes.Kurs> getKurss() {
        return kurss;
    }

    public void setKurss(Set<base_classes.Kurs> kurss) {
        this.kurss = kurss;
    }

    public Set<base_classes.User> getUsers() {
        return users;
    }

    public void setUsers(Set<base_classes.User> users) {
        this.users = users;
    }

}
